<?php

class ExampleForm extends Form
{
    protected $elements = array(
        'validatedData',
        'filteredData'
    );

    protected $filters = array(
        'filteredData' => array('stripTags')
    );

    protected $validators = array(
        'validatedData' => array('required')
    );
}